<%@ Page Title="" Language="C#" MasterPageFile="~/Theme/Default/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IList<KingSite.Shop.Domain.Goods>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	List
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>List</h2>

    <table>
        <tr>
            <th>Id</th>
            <th>Name</th>
            <th>MarketingPrice</th>
            <th>SellingPrice</th>
            <th>Desc</th>
        </tr>

    <% foreach (var item in Model ) { %>                               
        <tr>
            <td><%= item.Id %></td>
            <td><%= item.Name %></td>
            <td><%= item.MarketingPrice %></td>
            <td><%= item.SellingPrice %></td>
            <td><%= item.GoodsDesc%></td>
        </tr>    
    <% } %>

    </table>

</asp:Content>

